package com.fuchuang.seckillsystem.dto;

public class GoodsQuery extends PageQuery{
    
    //商品类型
    private Integer type;
    
    //商品名称
    private String goodsName;
    
    public GoodsQuery() {
    }
    
    public GoodsQuery(Integer type, String goodsName) {
        this.type = type;
        this.goodsName = goodsName;
    }
    
    public Integer getType() {
        return type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    
    public String getGoodsName() {
        return goodsName;
    }
    
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    
    @Override
    public String toString() {
        return "GoodsQuery{" +
                "type=" + type +
                ", goodsName='" + goodsName + '\'' +
                "} " + super.toString();
    }
}
